//
//  ContentView.m
//  TheRoadAD
//
//  Created by baixue on 16/8/12.
//  Copyright © 2016年 baixue. All rights reserved.
//

#import "ContentView.h"

@implementation ContentView

- (void)awakeFromNib {
   
}

-(void)cellAutoLayoutHeight:(NSString *)str{
    _contentLable.lineBreakMode = NSLineBreakByWordWrapping;
    _contentLable.preferredMaxLayoutWidth = CGRectGetWidth(_contentLable.frame);
    _contentLable.text = str;
}

@end
